package com.dckeji.shiplock.framework.pojo;

/**
 * Created with IntelliJ IDEA.
 * User: TianWei
 * Date: 2017/8/18
 * Time: 11:04
 */
public class LockInfo {
    //Excel 编号 行号
    private String lockId;
    //航向
    private String course;
    //船闸编号
    private String shipLockNo;
    //闸次编号
    private String lockNo;
    //调度时间
    private String dispatchTime;
    //过闸确认时间
    private String unLockConfirmTime;
    //闸次状态
    private String lockStatus;
    //闸次类型
    private String lockType;
    //船队数量
    private String shipsCount;
    //货船数量
    private String shipCount;
    //配闸船舶数量?驳船？
    private String bargeCount;
    //闸费
    private String lockMoney;
    //总吨
    private String totalHeavy;

    public String getLockId() {
        return lockId;
    }

    public void setLockId(String lockId) {
        this.lockId = lockId;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public String getShipLockNo() {
        return shipLockNo;
    }

    public void setShipLockNo(String shipLockNo) {
        this.shipLockNo = shipLockNo;
    }

    public String getLockNo() {
        return lockNo;
    }

    public void setLockNo(String lockNo) {
        this.lockNo = lockNo;
    }

    public String getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(String dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    public String getUnLockConfirmTime() {
        return unLockConfirmTime;
    }

    public void setUnLockConfirmTime(String unLockConfirmTime) {
        this.unLockConfirmTime = unLockConfirmTime;
    }

    public String getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(String lockStatus) {
        this.lockStatus = lockStatus;
    }

    public String getLockType() {
        return lockType;
    }

    public void setLockType(String lockType) {
        this.lockType = lockType;
    }

    public String getShipsCount() {
        return shipsCount;
    }

    public void setShipsCount(String shipsCount) {
        this.shipsCount = shipsCount;
    }

    public String getShipCount() {
        return shipCount;
    }

    public void setShipCount(String shipCount) {
        this.shipCount = shipCount;
    }

    public String getBargeCount() {
        return bargeCount;
    }

    public void setBargeCount(String bargeCount) {
        this.bargeCount = bargeCount;
    }

    public String getLockMoney() {
        return lockMoney;
    }

    public void setLockMoney(String lockMoney) {
        this.lockMoney = lockMoney;
    }

    public String getTotalHeavy() {
        return totalHeavy;
    }

    public void setTotalHeavy(String totalHeavy) {
        this.totalHeavy = totalHeavy;
    }

    //    @Override
//    public String toString() {
//        return   "lockId=" + lockId +
//                ", 航向'" + course + '\'' +
//                ", shipLockNo='" + shipLockNo + '\'' +
//                ", lockNo=" + lockNo +
//                ", dispatchTime='" + dispatchTime + '\'' +
//                ", unLockConfirmTime='" + unLockConfirmTime + '\'' +
//                ", lockStatus='" + lockStatus + '\'' +
//                ", lockType='" + lockType + '\'' +
//                ", shipsCount=" + shipsCount +
//                ", shipCount=" + shipCount +
//                ", bargeCount=" + bargeCount +
//                ", lockMoney=" + lockMoney +
//                ", totalHeavy=" + totalHeavy +
//                '}';
//    }
    public String execlMap() {
        StringBuffer map = new StringBuffer();
        map.append("航向:course,").append("船闸编号:shipLockNo,").append("闸次编号:lockNo,").append("调度时间:dispatchTime,")
                .append("过闸确认时间:unLockConfirmTime,").append("闸次状态:lockStatus,").append("闸次类型:lockType,")
                .append("船队数量:shipsCount,").append("货轮数量:shipCount,").append("配闸船舶数量:bargeCount,")
                .append("闸费:lockMoney,").append("总吨:totalHeavy");

        return map.toString();

    }
}
